package ABC;

public class Z03137 {
    public static void main(String[] args) {
        int []a={1,2,3,4,-1,-4,5,-2,6,7};
        int xiao=a[1];
        for (int i=0;i<a.length;i++){
            if (xiao>a[i]){
                xiao=a[i];
            }
        }
        System.out.println("数组中最小值为："+xiao);
    }
}
